<div class="col-md-12 col-sm-12 col-xs-12" v-cloak id="detailPageController" style="margin-top:10px;">
    <div class="x_panel">
        <div class="x_title">
            <h2 style="width:300px;">
                班级详情
                <small></small>
            </h2>
            <ul class="nav navbar-right panel_toolbox"></ul>
            <div class="clearfix"></div>
        </div>
        <div class="x_content">
            <br />
            <form class="form-horizontal form-label-left" id="validate">
                <div class="form-group">
                    <label class="control-label col-md-3 col-sm-3 col-xs-12">
                        班级名称
                    </label>
                    <div class="col-md-6 col-sm-6 col-xs-12">
                        <span class="form-control  col-md-7 col-xs-12" v-html="entity.name"></span>
                    </div>
                </div>
                <div class="form-group">
                    <label class="control-label col-md-3 col-sm-3 col-xs-12">
                        学校
                    </label>
                    <div class="col-md-6 col-sm-6 col-xs-12">
                        <select class="select2 form-control  col-md-7 col-xs-1" v-model="entity.schoolsId">
                            <template v-for="item in schools">
                                <option v-bind:value='item.id' selected v-if="entity.schoolsId==item.id">
                                    {{item.name}}
                                </option>
                                <option v-else value="item.id">{{item.name}}</option>
                            </template>
                        </select>
                    </div>
                </div>
                <div class="form-group">
                    <div class="col-md-6 col-sm-6 col-xs-12 col-md-offset-3">
                        <button type="button" class="btn btn-success" v-on:click="add()">确认</button>
                        <button class="btn btn-primary" type="button" v-on:click="close()">关闭</button>
                    </div>
                </div>
            </form>
        </div>
    </div>
</div>
<script page-script="./dist/js/ClassPage/detailPage.js">
</script>